<template>
    <div>
        <h1>js加载工具</h1>
        <div>远程加载指定js文件到项目中，一般用于按需加载、注入应用等场景</div>
        <h3>scriptLoad-加载指定地址js文件</h3>
        <div class="code">ScriptUtil.scriptLoad('a.com/a.js')</div>
    </div>
</template>
<script setup lang="ts">
import { reactive } from 'vue'

const conf = reactive({
    str: `//使用isNull或者StrUtil.isNull都可以
console.log(isNull('0'));
console.log(StrUtil.isNull(0));
console.log(StrUtil.isNull(NaN));
console.log(StrUtil.isNull([]));
console.log(StrUtil.isNull(null));
console.log(StrUtil.isNull(undefined));`
})
</script>
<style lang="less" scoped></style>
